﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QueryData;

internal class 使用表值函数
{
    void MyMethod()
    {
        using (var db = new BasicDbContext())
        {
            int number = 3;
            (from x in db.GetFunTable(number)
             where x.Number > 5
             select x).ToList();
        }
    }
}
